package com.atguigu.crowd.constant;


/**
 * 这是一个常量类，项目中用到的常量都放在这里
 */
public class CrowdConstant {
    public static final String MESSAGE_LOGIN_FAILED = "抱歉！账号密码错误，请重新输入！";
    public static final String MESSAGE_LOGIN_ALREADY_IN_USE = "抱歉！这个账号已经被使用！";
    public static final String MESSAGE_ACCESS_FORBIDEN = "请登录以后再访问！";
    public static final String MESSAGE_STRING_INVALIDATE = "字符串不合法，请不要传输空字符串！";
    public static final String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "系统错误，账号不唯一！";
    public static final String MESSAGE_TEXT_BOX_IS_NULL = "文本为空，请重新输入！";
    public static final String MESSAGE_ACCESS_DENIED = "抱歉！您不能访问此资源";
    public static final String MESSAGE_HEADER_PIC_UPLOAD_FAILED = "头图上传失败";
    public static final String MESSAGE_CODE_INVALID = "验证码不正确！";
    public static final String MESSAGE_CODE_NOT_EXIST = "验证码已过期，请重新发送！";
    public static final String MESSAGE_HEADER_PIC_EMPTY = "头图不能为空！";
    public static final String MESSAGE_DETAIL_PIC_EMPTY = "详情图不能为空！";
    public static final String MESSAGE_DETAIL_PIC_UPLOAD_FAILED = "详情图上传失败！";
    public static final String MESSAGE_RETURN_PIC_EMPTY = "说明图片不能为空";
    public static final String MESSAGE_TEMPLE_PROJECT_MISSING = "ProjectVO对象丢失！";


    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_LOGIN_MEMBER = "loginMember";
    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    public static final String ATTR_NAME_MESSAGE = "message";
    public static final String REDIS_CODE_PREFIX = "REDIS_CODE_PREFIX_";
    public static final String ATTR_NAME_TEMPLE_PROJECT = "templeProject";
    public static final String ATTR_NAME_PORTAL_DATA = "portal_data";
    public static final String ATTR_NAME_PROJECT_DETAIL = "detailProjectVO";
}
